package www.openteam.com.contract.realtime;

import java.util.List;

import www.openteam.com.base.BaseHttpResult;
import www.openteam.com.bean.DeliverGoods;

/**
 * Created by kylin on 2016/12/20.
 */

public class DeliverGoodsContract {

        public interface DeliverGoodsView{
// @Query("rdsno") String rdsno, @Query("custid") String custid,
// @Query("startDate") long startDate,
// @Query("endDate") long endDate, @Query("pageSize") int PageSize
                String getRdsno();
                String getCustid();
                long getStartDate();
                long getEndDate();
                String getStype();
                String getMoreCom();
                int getUserId();
                String getJMark();
            void queryDGSuccess(List<DeliverGoods.DataEntity>  deliverGoods);

            void queryDGFail(String failMsg);


        }
//    @Query("rdsno") String rdsno, @Query("custid") String custid,
//    @Query("startDate") long startDate, @Query("endDate") long endDate,
//    @Query("stype") String stype, @Query("moreCom") String moreCom,
//    @Query("userId") int userId,
//    @Query("jMark") boolean jMark, @Query("pageSize") int PageSize);
        public interface DeliverGoodsPresenter{
            void queryDeliverGoods(String rdsno, String custid, long startDate,
                                   long endDate,  String stype, String moreCom,
                                   int userId,String jMark,
                                   int pageSize);
        }

}
